package com.lin.manager.oss.model;

import lombok.Setter;

/**
 * @author linjiang
 * @date 2024/7/26
 * @fn
 */
@Setter
public class StorageConfigData implements StorageClient {

    /**
     * 云上对象存储地址
     */
    String ossEndpoint;

    /**
     * 云上对象存储key唯一标识
     */
    String ossAccessKeyId;

    /**
     * 云上对象存储key唯一密匙
     */
    String ossAccessKeySecret;

    /**
     * 云上对象存储桶
     */
    String bucket;

    @Override
    public String getOssEndpoint() {
        return ossEndpoint;
    }

    @Override
    public String getOssAccessKeyId() {
        return ossAccessKeyId;
    }

    @Override
    public String getOssAccessKeySecret() {
        return ossAccessKeySecret;
    }

    @Override
    public String getBucket() {
        return bucket;
    }
}
